package com.tinycloud.miracll.finance.service;

import java.text.ParseException;
import java.util.List;
import com.tinycloud.miracll.finance.domain.ProductCost;
import com.tinycloud.miracll.finance.domain.SapProductOrderCost;

/**
 * 产品成本Service接口
 * 
 * @author tiny
 * @date 2021-08-31
 */
public interface IProductCostService 
{

    /**
     * 查询产品成本列表
     * 
     * @param productCost 产品成本
     * @return 产品成本集合
     */
    public List<ProductCost> selectFirstProductCostList(ProductCost productCost);

    public List<ProductCost> selectSecondProductCostList(ProductCost productCost);

    public List<ProductCost> selectLastProductCostList(ProductCost productCost);

    /**
     * 新增产品成本
     * 
     * @param productCost 产品成本
     * @return 结果
     */
    public int insertFirstProductCost(ProductCost productCost);

    public int insertSecondProductCost(ProductCost productCost);

    public int insertLastProductCost(ProductCost productCost);

    public void deleteLastProductCostByParams(ProductCost productCost);
    public void deleteFirstProductCostByParams(ProductCost productCost);
    public void deleteSecondProductCostByParams(ProductCost productCost);

    void firstProductCost() throws ParseException;

    void firstProductCostList() throws ParseException;

    void secondProductCostList() throws ParseException;

    void lastProductCostList() throws ParseException;

    public void insertERPProductCost() throws ParseException;


    void deleteERPProductCostByParams(ProductCost productCost);
}
